package login.service.impl;

import account.entity.AccountVO;
import login.dao.LoginDao;
import login.service.LoginService;


public class LoginServiceImpl implements LoginService {
    private LoginDao loginDao;

    public LoginDao getLoginDao() {
        return loginDao;
    }

    public void setLoginDao(LoginDao loginDao) {
        this.loginDao = loginDao;
    }

    public AccountVO validateLogin(AccountVO accountVO) {
        accountVO = loginDao.validateLogin(accountVO);
        return accountVO;
    }
}
